package org.facyt.commons.view.form;

import com.vaadin.data.Item;
import com.vaadin.ui.Component;
import com.vaadin.ui.Field;

public class FieldGeneratorImpl implements FieldGenerator {

	private Field field;

	public FieldGeneratorImpl(Field field) {
		super();
		this.field = field;
	}

	@Override
	public Field createField(Item item, Object propertyId, Component uiContext) {
		return field;
	}

}
